import SystemList from "./systemList/systemList.vue";
import ScheduleComponent from "./schedule/schedule.vue";
export default {
  data() {
    return {
      loading: false,
      checkFlag: false,
      dialogVisible: false,
      show: true,
      backBtn: false,
      type: ''
    }
  },
  components: {
    SystemList,
    ScheduleComponent

  },
  mounted() {
    // this.getList();
  },
  methods: {
    //改变show状态
    onchangeShow(index) {
      this.show = false;
      this.backBtn = true;
      this.type = index;
      this.$refs.schedule.getType(index);
    },
    //返回
    goBack() {
      this.show = true;
      this.backBtn = false;
      this.AddPostShow = false;
      this.$refs.currentList.getList();
    },
  }
}